home *** CD-ROM | disk | FTP | other *** search
/ Over 1,000 Windows 95 Programs / Over 1000 Windows 95 Programs (Microforum) (Disc 1).iso / 1262 / clipper.cf_ / clipper.cf
Encoding:
Text File  |  1996-03-12  |  3.4 KB  |  207 lines

  1. ; -------------------------------------------------------------------------
  2. ; ------------ EasyCODE(SPX) - Configuration for CLIPPER ------------------
  3. ; -------------------------------------------------------------------------
  4.  
  5. [GenOptions]
  6. InitialIndent=0
  7. CompressBlanks=no
  8. GenFileExt=PRG
  9. MaxIndent=-1
  10. MaxLineLength=-1
  11.  
  12. [Settings]
  13. SourceFileFormat=OEM
  14.  
  15. [ParseOptions]
  16. Parser=easy-xbs.dll
  17. SuppressDoInProcedureCall=no
  18. SuppressLastReturnInProcedure=yes
  19.  
  20. [AvailableConstructs]
  21. Statement=yes
  22. If=yes
  23. Switch=yes
  24. Case=no
  25. For=yes
  26. While=yes
  27. Repeat=yes
  28. Loop=yes
  29. Exit=yes
  30. Procedure=yes
  31. Call=yes
  32. Function=yes
  33. Block=yes
  34. Frame=yes
  35. Condition=yes
  36. And=yes
  37. Or=yes
  38. Not=yes
  39.  
  40. [InsertMenuStrings]
  41. ;Statement=
  42. ;If=
  43. Switch="D&O CASE"
  44. When="  &CASE"
  45. ;Case=
  46. ;Of=
  47. ;For=
  48. While="DO &WHILE"
  49. ;Repeat=
  50. ;Loop=
  51. ;Exit=
  52. Procedure=&PROCEDURE
  53. ;Call=
  54. Function=F&UNCTION
  55. ;Block=
  56. ;Frame=
  57. ;Condition=
  58. ;And=
  59. ;Or=
  60. ;Not=
  61.  
  62. [EncloseMenuStrings]
  63. ;If=
  64. ;Then=
  65. ;Else=
  66. Switch="DO &CASE"
  67. When=&CASE
  68. WhenNone=&OTHERWISE
  69. ;Case=
  70. ;Of=
  71. ;Otherwise=
  72. ;For=
  73. While="DO &WHILE"
  74. ;Repeat=
  75. ;Loop=
  76. ;Exit=
  77. Procedure=&PROCEDURE
  78. Function=F&UNCTION
  79. ;Block=
  80. ;Frame=
  81. ;Condition=
  82. ;And=
  83. ;Or=
  84. ;Not=
  85.  
  86. [KeywordStrings]
  87. If=IF
  88. Then=THEN
  89. Else=ELSE
  90. Switch="DO CASE"
  91. ;FirstWhen=
  92. When=CASE
  93. WhenNone=OTHERWISE
  94. ;Case=
  95. ;FirstOf=
  96. ;Of=
  97. ;Otherwise=
  98. For=FOR
  99. While="DO WHILE"
  100. Repeat=REPEAT
  101. Loop=LOOP
  102. Exit=EXIT
  103. Procedure=PROCEDURE
  104. Function=FUNCTION
  105. ;Block=
  106. And=AND
  107. Or=OR
  108. Not=NOT
  109.  
  110. [MetaStrings]
  111. ;SegmentHeader=
  112. ;Statement=
  113. ;Condition=
  114. ;Expression=
  115. ;Value=
  116. ;ForStatement=
  117. ;ProcedureHeader=
  118. ;ProcedureCall=
  119. ;FunctionHeader=
  120. ;BlockComment=
  121. ;FrameHeader=
  122. ;FrameFooter=
  123.  
  124. [GenStrings]
  125. Statement=''
  126. EndStatement='\N'
  127.  
  128. If='\NIF \3+'
  129. ThenBody='\N\1-'
  130. ElseBody='\N\2-ELSE\n\2+'
  131. EmptyElseBody=''
  132. EndIf='\N\2-ENDIF\n'
  133.  
  134. ; Warning!
  135. ; The GenStrings Case, FirstOf, FurtherOf, OfBody,
  136. ; OtherwiseBody und EmptyOtherwiseBody are not provided,
  137. ; because the CASE construct is not supported by Clipper.
  138. ; Please use the SWITCH construct instead!
  139. ; Due to the GenString EndCase you will find the following hint 
  140. ; in the generated source program:
  141. EndCase='\s\0:\n\nWarning! CASE construct not allowed.\n\n\r'
  142.  
  143. Switch='\NDO CASE\3+'
  144. FirstWhen='\nCASE \5+'
  145. FurtherWhen='\N\3-CASE \5+'
  146. WhenBody='\N\5-\3+'
  147. WhenNoneBody='\N\3-OTHERWISE\3+\n'
  148. EmptyWhenNoneBody='\N'
  149. EndSwitch='\N\6-ENDCASE\n'
  150.  
  151. For='\NFOR \4+'
  152. ForBody='\N\2-'
  153. EndFor='\N\2-NEXT\n'
  154.  
  155. While='\NDO WHILE \9+'
  156. WhileBody='\N\7-'
  157. EndWhile='\N\2-ENDDO\n'
  158.  
  159. Repeat='\NDO WHILE .T.\n\2+'
  160. Until='\NIF \3+'
  161. EndRepeat='\NEXIT\n\3-ENDIF\n\2-ENDDO\n'
  162.  
  163. Loop='\NDO WHILE .T.\n\2+'
  164. EndLoop='\2-\NENDDO\n'
  165.  
  166. Exit='\NIF \3+'
  167. EndExit='\NEXIT\n\3-ENDIF\n'
  168.  
  169. Procedure='\NPROCEDURE \10+'
  170. ProcedureBody='\N\8-'
  171. EndProcedure='\N\2-RETURN\n\n'
  172.  
  173. Function ='\NFUNCTION \9+'
  174. FunctionBody='\N\7-'
  175. EndFunction='\N\2-\n'
  176.  
  177. Call='\N'
  178. EndCall='\N'
  179.  
  180. Block='\NBEGIN SEQUENCE\n  /* \5+'
  181. BlockBody=' */\n\3-'
  182. EndBlock='\2-\NEND SEQUENCE\n'
  183.  
  184. Frame='\N'
  185. FrameBody='\N\2+'
  186. EndFrameBody='\N\2-'
  187. EndFrame='\N'
  188.  
  189. BeginAnd='      (\7+'
  190. And=');\n\7-.AND. (\7+'
  191. EndAnd=')\7-'
  192. BeginOr='      (\7+'
  193. Or=');\n\7-.OR.  (\7+'
  194. EndOr=')\7-'
  195. BeginNot='.NOT. (\7+'
  196. EndNot=')\7-'
  197. Condition=''
  198. EndCondition=''
  199.  
  200. Segment='\N/* \3+'
  201. SegmentBody=' */\n'
  202. EndSegment='\3-\N'
  203.  
  204. TopSegment='/* Generated by \%PNAME% V\%PVER% at \%TIME%\n   with \%CFG% */\n\n/* \3+'
  205. TopSegmentBody=' */\3-\n\n'
  206. EndTopSegment='\N'
  207.